package com.bestcem.xm.user.dao.mapper;

import com.bestcem.xm.user.entity.mysql.Sso;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * SsoMapper
 *
 * @author Linzhijian <zhijian.lin@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/17 15:01
 */
@Mapper
public interface SsoMapper {

    /**
     * 根据主键删除
     *
     * @param ssoId
     * @return int
     * @author Linzhijian <zhijian.lin@idiaoyan.com>
     * @date 2022/09/28 11:25
     */
    int deleteByPrimaryKey(String ssoId);

    /**
     * 插入
     *
     * @param sso
     * @return int
     * @author Linzhijian <zhijian.lin@idiaoyan.com>
     * @date 2022/09/28 11:25
     */
    int insertSelective(Sso sso);

    /**
     * 根据主键查询sso
     *
     * @param ssoId
     * @return java.util.List<com.bestcem.xm.user.entity.pojo.Sso>
     * @author Linzhijian <zhijian.lin@idiaoyan.com>
     * @date 2022/09/28 11:25
     */
    Sso selectByPrimaryKey(String ssoId);

    /**
     * 根据主键跟新
     *
     * @param sso
     * @return java.util.List<com.bestcem.xm.user.entity.pojo.SsoDO>
     * @author Linzhijian <zhijian.lin@idiaoyan.com>
     * @date 2022/09/28 11:25
     */
    int updateByPrimaryKeySelective(Sso sso);

    /**
     * 查询sso
     *
     * @param sso
     * @return java.util.List<com.bestcem.xm.user.entity.pojo.SsoDO>
     * @author Linzhijian <zhijian.lin@idiaoyan.com>
     * @date 2022/09/28 11:25
     */
    List<Sso> selectBySelective(Sso sso);
}
